//Copyright (C) 2009 Ron Coleman. Contact: ronncoleman@gmail.com
//
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 3 of the License, or (at your option) any later version.
//
//This library is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this library; if not, write to the Free Software
//Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

package org.workplicity.marist.grounds.util;

import org.workplicity.entry.event.Event;
import org.workplicity.marist.grounds.GroundsRequest;

/**
 *
 * @author Ron Coleman
 */
public class CompositeOrder {

    protected String slateName = "";
    protected GroundsRequest request;
    protected Event event;

    public CompositeOrder(String slateName,GroundsRequest request) {
        this.slateName = slateName;
        this.request = request;
    }
    
    public CompositeOrder(String slateName,GroundsRequest request,Event event) {
        this(slateName,request);
        
        this.event = event;
    }

    /**
     * Get the value of request
     *
     * @return the value of request
     */
    public GroundsRequest getRequest() {
        return request;
    }

    /**
     * Gets the event.
     * @return Event
     */
    public Event getEvent() {
        return event;
    }

    /**
     * Set the value of request
     *
     * @param request new value of request
     */
    public void setWorkOrder(GroundsRequest request) {
        this.request = request;
    }


    /**
     * Get the value of slateName
     *
     * @return the value of slateName
     */
    public String getSlateName() {
        return slateName;
    }

    /**
     * Set the value of slateName
     *
     * @param slateName new value of slateName
     */
    public void setSlateName(String slateName) {
        this.slateName = slateName;
    }

}
